package org.ovgu.coursify.data;

import java.util.Date;

public class Comment {
	private String content;
	private float rating;
	private int lecture;
	private Date dateTime;

	public Comment(int lecture, String content, float rating) {
		this.lecture = lecture;
		this.content = content;
		this.rating = rating;
		this.dateTime = new Date();
	}

	public Comment(int lecture, String content, float rating, long dateTime) {
		this.lecture = lecture;
		this.content = content;
		this.rating = rating;
		this.dateTime = new Date(dateTime);
	}

	public String getContent() {
		return content;
	}

	public float getRating() {
		return rating;
	}

	public int getLecture() {
		return lecture;
	}

	public Date getDateTime() {
		return dateTime;
	}
}
